package com.dingwen.auause.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * 权限实体
 *
 * @author dingwen
 * 2021.05.12 16:12
 */
@Getter
@Setter
@ToString
@TableName(value = "au_permission")
public class PermissionEntity implements Serializable {
    private static final long serialVersionUID = 2981680367774480162L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "parent_id")
    private String parentId;

    @TableField(value = "name")
    private String name;

    @TableField(value = "enname")
    private String enname;

    @TableField(value = "url")
    private String url;

    @TableField(value = "description")
    private String description;

    @TableField(value = "created")
    private Date created;

    @TableField(value = "updated")
    private Date updated;

}
